package com.blockmeta.bbs.immodule.net.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseImResponse;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author AirThor
 * @date 2019/4/1.
 */
public interface JoinCircleApi {
    /**
     * @see "https://gitee.com/btc8/appserver/wikis/IM?sort_id=1348722#35-%E7%94%B3%E8%AF%B7%E5%8A%A0%E5%9C%88-chatgroupjoinchatgroup-get"
     * @param chatGroupId 圈子ID
     * @param userId uid
     * @param reqMsg 验证消息
     * @return 响应信息
     */
    @GET("im/chatGroup/joinChatGroup")
    Flowable<BaseImResponse<Object>> joinCircle(@Query("chatGroupId") long chatGroupId, @Query("userId") int userId, @Query("reqMsg") String reqMsg);
}
